package cn.iocoder.yudao.module.eval.controller.admin.announcement.vo;

import lombok.*;
import java.time.LocalDateTime;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 公告发布分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EvalAnnouncementPageReqVO extends PageParam {

    @Schema(description = "计划ID", example = "1")
    private Long planId;

    @Schema(description = "公告标题", example = "重要通知")
    private String title;

    @Schema(description = "公告类型", example = "plan")
    private String announcementType;

    @Schema(description = "发布状态", example = "1")
    private Integer publishStatus;

    @Schema(description = "是否置顶", example = "true")
    private Boolean isTop;

    @Schema(description = "发布时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] publishTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
